/*
 * report.h
 *
 *  Created on: 01/05/2013
 *      Author: jose
 */

#ifndef REPORT_H_
#define REPORT_H_

#include <libxml/parser.h>
#include <libxml/tree.h>

void
print_xml_tree(xmlNode * node, unsigned depth);

Session *
parse_session_tree(xmlNode * root, Session * session);

Sessions *
parse_sessions_tree(xmlNode * root, Sessions * sessions);

Sessions *
load_dpi_report(const char * filename);

Access *
parse_access_tree(xmlNode * root, Access * access);

#endif /* REPORT_H_ */
